import requests
# url = 'https://www.douban.com/accounts/login'
# params = {
#     'source':'index_nav',
#     'form_email':'13260029299',
#     'form_password':'here124578'
# }
# html = requests.post(url,params)
# print(html.text)


url = 'https://www.douban.com/'
headers = {
    'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36',
    'Cookie':'ll="108288"; bid=qrb0ihqo3qw; __utmc=30149280; _vwo_uuid_v2=DADE31F88F86B845C12E017FDB53D09CB|121345f6bbd927ebabeb0208afd289f4; __utmz=30149280.1547698746.2.2.utmcsr=localhost:8888|utmccn=(referral)|utmcmd=referral|utmcct=/notebooks/ipynb/crawler/douban.ipynb; _pk_ses.100001.8cb4=*; __utma=30149280.1455783784.1547611976.1547704689.1547795999.4; _ga=GA1.2.1455783784.1547611976; _gid=GA1.2.1583917576.1547796903; ps=y; ck=pmRc; _pk_id.100001.8cb4=e219579682fc7d24.1547611974.2.1547797011.1547612598.; __utmt=1; __utmb=30149280.2.10.1547795999; _gat_UA-7019765-1=1; dbcl2="49429016:Iqrv4CGnD0U"'
}
html = requests.get(url,headers=headers)
print(html.text)